<h1>{t}Forms{/t}</h1>

<div id="moduleTabs">
<ul>
    <li><a href="" title="" rel="history"><span>{t}Forms{/t}</span></a></li>
</ul>
</div>

<div id="tabContent">
    <div id="saveButton" style="display:block">
        <ul class="saveButtons">
            {foreach from=$websites item=website key=k}
            <li {if $k==0}class="first"{/if}><a href="{$URL_RELATIVE}/bo/#{url route='addStructure' docId=$website->getUniqueId() docLang=$website->getLang()}" class="nyroModal toolTip linkButton active" title="{t}Add a form - Click here to add a new form to use in the selected website.{/t}">{icon name="field.png"} {t 1=$website->getLabel()}Add form in %s{/t}</a></li>
            {/foreach}
        </ul>
    </div>
    <table class="documentListTable">
        <thead>
            <tr>
                <th>{t}Act.{/t}</th>
                <th>{t}Website{/t}</th>
            </tr>
        </thead>
        <tbody class="documentListItems">
            {foreach from=$websites item=website}
            <tr>
                <td style="width:40px;"><span class="listButtons"><a href="{$URL_RELATIVE}/bo/#{url route='addStructure' docId=$website->getUniqueId() docLang=$website->getLang()}" class="itemButton itemEditButton nyroModal toolTip" title="{t}Add a form - Click here to add a new form to use in the selected website.{/t}"></a> <a href="/bo/#{$website->getEditUrl()}" class="itemButton itemViewButton defaultAction openNewWindow toolTip" title="{t}View - Click here to view forms for this website.{/t}"></a></span></td>
                <td>{icon name="website.png"} {$website->getLabel()}</td>
            </tr>
            {/foreach}
        </tbody>
    </table>
</div>